From bed3635d310d243a7946566e4eea0ed5e4833a49 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 20 Dec 2023 17:11:37 +0000 Subject: Move ShidToPatio code to separate package --- ...ompiler.testing.snapshots.Snapshotter)].expected | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..d5f76603 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,21 @@ +Compilation unit elements: + +( + function-decl + "shed__runtime__string_add" + params=((param "left" int) (param "right" int)) + return-type=int +) + +Locals: + * (val "binaryOpResult__0" int) + +Instructions: + +( + (call (local "binaryOpResult__0") "shed__runtime__string_add" ((local "b") (local "c"))) +) + +Temporary stack: + * PatioLocalRef[name=binaryOpResult__0] + * PatioLocalRef[name=a] -- cgit v1.2.3